package com.gdk.subject.domain.handler.subject;

import com.gdk.subject.common.enums.SubjectInfoTypeEnum;
import com.gdk.subject.domain.entity.SubjectInfoBO;
import com.gdk.subject.domain.entity.SubjectOptionBO;

/**
 * 题目类型工厂
 *
 * @author Gudong~
 * @create 2024-10-23 12:27
 */
public interface SubjectTypeHandler {

    //枚举身份的识别
    SubjectInfoTypeEnum getHandlerType();

    //实际题目的插入
    void add(SubjectInfoBO subjectInfoBO);

    //查询题目的信息
    SubjectOptionBO query(Long id);
}
